﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wise.Util
{
    public abstract class CompressHelper
    {
        

        /// <summary>
        /// 压缩
        /// </summary>
        /// <param name="input">输入</param>
        /// <returns></returns>
        public abstract string CompressBase64Text(string input);

        /// <summary>
        /// 压缩
        /// </summary>
        /// <param name="input">输入</param>
        /// <returns></returns>
        public abstract byte[] CompressData(byte[] input);

        /// <summary>
        /// 解压
        /// </summary>
        /// <param name="input">输入</param>
        /// <returns></returns>
        public abstract string DecompressBase64Text(string input);

        /// <summary>
        /// 解压
        /// </summary>
        /// <param name="input">输入</param>
        /// <returns></returns>
        public abstract string DecompressData(byte[] input);
    }

    class MyCompressHelper : CompressHelper
    {

        public override string CompressBase64Text(string input)
        {
            throw new NotImplementedException();
        }

        public override byte[] CompressData(byte[] input)
        {
            throw new NotImplementedException();
        }

        public override string DecompressBase64Text(string input)
        {
            throw new NotImplementedException();
        }

        public override string DecompressData(byte[] input)
        {
            throw new NotImplementedException();
        }
    }
}
